package com.bajie.bjlisten.api;

import com.bajie.bjlisten.entity.PushBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "消息推送", description = "消息推送接口")
public interface PushControllerApi {
    @ApiOperation("推送全部(包括ios和android)")
    public boolean pushAll(PushBean pushBean);

    @ApiOperation("推送全部ios")
    public boolean pushIos(PushBean pushBean);

    @ApiOperation("推送指定ios")
    public boolean pushIos(PushBean pushBean, String[] registerids);

    @ApiOperation("推送全部android")
    public boolean pushAndroid(PushBean pushBean);

    @ApiOperation("推送指定android")
    public boolean pushAndroid(PushBean pushBean, String[] registerids);

}
